package com.szqhyxj.youxiangju.biz.register;

import com.szqhyxj.youxiangju.BasePresenter;
import com.szqhyxj.youxiangju.PromptView;

public interface RegisterContract {

    interface View extends PromptView{

        void showRegisterEnable();

        void showRegisterDisable();

        void navToScan();

        void navToUserContract();

        void showAcquiringVerificationCode(int number);

        void showAcquiredVerificationCode();

        void navBack();

        void showAcquiredVerificationCodeSuccess();

        void showAcquiredVerificationCodeFail(String s);

        void showRegisterSuccess();

        void showRegisterFail(String message);
    }

    interface Presenter extends BasePresenter {

        void setAccount(String account);

        void setVerificationCode(String verificationCode);

        void setPassword(String password);

        void setEnsurePassword(String ensurePassword);

        void setReferralCode(String referralCode);

        void acquireVerificationCode();

        void register();

        void userContract();

        void scan();

        void back();

        void setAgree(boolean agree);


    }

}